package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 药铺：接待日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_drug_store_receive", desc = "药铺接待日志", autoSave = true, uploadCk = true)
public class LogDrugStoreReceive extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "类型：1 正常接待，2 一键接待 3找回接待")
    private int type;

    @FieldTypeAnnotation(desc = "接待数")
    private int num;

    public LogDrugStoreReceive(long userId, int type, int num) {
        this.userId = userId;
        this.type = type;
        this.num = num;
    }

    public long getUserId() {
        return userId;
    }

}
